package com.crm.pojo;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CLIENT_CARE database table.
 * 
 */
@Entity
@Table(name="CLIENT_CARE")
@NamedQuery(name="ClientCare.findAll", query="SELECT c FROM ClientCare c")
public class ClientCare implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue = 1, allocationSize = 1,name="CLIENT_CARE_CAREID_GENERATOR", sequenceName="SEQ1")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CLIENT_CARE_CAREID_GENERATOR")
	private Long careid;

	@Column(name="ACCEPT_USER_ID")
	private BigDecimal acceptUserId;

	@Temporal(TemporalType.DATE)
	@Column(name="CARE_DATE")
	@JSONField(format="yyyy-MM-dd")
	private Date careDate;

	@Column(name="CARE_THEME")
	private String careTheme;

	@Column(name="CLIENT_CARE_IS_DEL")
	private String clientCareIsDel;

	@Column(name="CLIENT_ID")
	private BigDecimal clientId;

	private String context;

	@Column(name="EXERT_ID")
	private BigDecimal exertId;

	private String feedback;

	@Column(name="OWN_ID")
	private BigDecimal ownId;

	private String remarks;

	public ClientCare() {
	}

	public Long getCareid() {
		return this.careid;
	}

	public void setCareid(Long careid) {
		this.careid = careid;
	}

	public BigDecimal getAcceptUserId() {
		return this.acceptUserId;
	}

	public void setAcceptUserId(BigDecimal acceptUserId) {
		this.acceptUserId = acceptUserId;
	}

	public Date getCareDate() {
		return this.careDate;
	}

	public void setCareDate(Date careDate) {
		this.careDate = careDate;
	}

	public String getCareTheme() {
		return this.careTheme;
	}

	public void setCareTheme(String careTheme) {
		this.careTheme = careTheme;
	}

	public String getClientCareIsDel() {
		return this.clientCareIsDel;
	}

	public void setClientCareIsDel(String clientCareIsDel) {
		this.clientCareIsDel = clientCareIsDel;
	}

	public BigDecimal getClientId() {
		return this.clientId;
	}

	public void setClientId(BigDecimal clientId) {
		this.clientId = clientId;
	}

	public String getContext() {
		return this.context;
	}

	public void setContext(String context) {
		this.context = context;
	}

	public BigDecimal getExertId() {
		return this.exertId;
	}

	public void setExertId(BigDecimal exertId) {
		this.exertId = exertId;
	}

	public String getFeedback() {
		return this.feedback;
	}

	public void setFeedback(String feedback) {
		this.feedback = feedback;
	}

	public BigDecimal getOwnId() {
		return this.ownId;
	}

	public void setOwnId(BigDecimal ownId) {
		this.ownId = ownId;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

}